<ui:composition 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface>
        <composite:attribute name="label"/>
        <composite:attribute name="value"/>
    </composite:interface>

    <composite:implementation>        
        <h:outputLabel for="inputField" value="#{cc.attrs.label}:" styleClass="ds-label"/>
        <span class="ds-field" title="#{cc.attrs.label}">
            <h:selectBooleanCheckbox id="inputField" value="#{cc.attrs.value}" style="margin-left:0;"/>
        </span>
    </composite:implementation>
</ui:composition>